package com.everlasting.base.entity;

import java.time.LocalDateTime;
import com.everlasting.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author HughGao
 * @since 2019-01-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SysRole对象", description="角色表")
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "父角色id")
    private Long pid;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "提示")
    private String description;

    @ApiModelProperty(value = "序号")
    private Integer sort;
}
